package cn.iocoder.yudao.module.english.controller.admin.questionbank.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 题库新增/修改 Request VO")
@Data
public class QuestionBankSaveReqVO {

    @Schema(description = "ID主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "18975")
    private Long id;

    @Schema(description = "级别ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "26106")
    @NotNull(message = "级别ID不能为空")
    private Long levelId;

    @Schema(description = "课程ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1437")
    @NotNull(message = "课程ID不能为空")
    private Long courseId;

    @Schema(description = "题库分类来源字典（选择题、句型练习题等）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "题库分类来源字典（选择题、句型练习题等）不能为空")
    private String questionType;

    @Schema(description = "问题描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "你猜")
    @NotEmpty(message = "问题描述不能为空")
    private String questionDescription;

    @Schema(description = "选择项", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "选择项不能为空")
    private String answerJson;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

}